package cn.bonoon.controllers.faq;

import cn.bonoon.kernel.support.models.AbstractItem;
import cn.bonoon.kernel.web.annotations.grid.AsColumn;
import cn.bonoon.kernel.web.annotations.grid.AsDataGrid;
import cn.bonoon.kernel.web.annotations.grid.GridOptions;

@AsDataGrid(condition = FaqCatalogCondition.class, value = @GridOptions(operationWith = 180, fitColumns = true))
public class FaqCatalogItem extends AbstractItem implements FaqCatalogDefine {

	private static final long serialVersionUID = 5945278143239861614L;
	
	@AsColumn(width = 60, ordinal = 0)
	private int ordinal;
	@AsColumn(width = 200, ordinal = 1)
	private String name;

	@AsColumn(width = 80, ordinal = 10)
	private String level;

	@AsColumn(width = 60, ordinal = 11)
	private String platform;
	@AsColumn(width = 60, ordinal = 12)
	private String disable;

	@AsColumn(width = 150, ordinal = 100)
	private String createAt;

	@AsColumn(width = 150, ordinal = 120)
	private String remark;
	
	public int getOrdinal() {
		return ordinal;
	}

	public void setOrdinal(int ordinal) {
		this.ordinal = ordinal;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public String getDisable() {
		return disable;
	}

	public void setDisable(String disable) {
		this.disable = disable;
	}

	public String getCreateAt() {
		return createAt;
	}

	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
